<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>管理后台</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- Bootstrap 3.3.4 -->
    <link href="__PUBLIC__/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
    <!-- FontAwesome 4.3.0 -->
    <link href="__PUBLIC__/bootstrap/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
    <!-- Ionicons 2.0.0 --
    <link href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css" rel="stylesheet" type="text/css"/>
    <!-- Theme style -->
    <link href="__PUBLIC__/dist/css/AdminLTE.min.css" rel="stylesheet" type="text/css"/>
    <link href="__PUBLIC__/dist/css/skins/_all-skins.min.css" rel="stylesheet" type="text/css"/>
    <!-- iCheck -->
    <link href="__PUBLIC__/plugins/iCheck/flat/blue.css" rel="stylesheet" type="text/css"/>
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
        <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    <!-- jQuery 2.1.4 -->
    <script src="__PUBLIC__/plugins/jQuery/jQuery-2.1.4.min.js"></script>
    <script src="__PUBLIC__/js/global.js"></script>
    <script src="__PUBLIC__/js/upgrade.js"></script>
    <script src="__PUBLIC__/js/layer/layer.js"></script><!--弹窗js 参考文档 http://layer.layui.com/-->
    
    <!-- 引入 layui.css -->
    <link rel="stylesheet" href="__PUBLIC__/layui/css/layui.css" type="text/css"/>
     
    <!-- 引入 layui.js -->
    <script src="__PUBLIC__/layui/layui.js"></script>
    
    
    <style type="text/css">
        #riframe {
            min-height: inherit !important
        }
    </style>
</head>
<body class="skin-green-light sidebar-mini" style="overflow-y:hidden;">
<div class="wrapper">
    <header class="main-header">
        <!-- Logo -->

        <!-- mini logo for sidebar mini 50x50 pixels -->

        <!-- Header Navbar: style can be found in header.less -->
        <nav class="navbar navbar-static-top" role="navigation">
            <!-- Sidebar toggle button-->

            <!--服务器升级-->
            <textarea id="textarea_upgrade" style="display:none;">{$upgradeMsg.1}</textarea>
            <div class="navbar-custom-menu">
                <ul class="nav navbar-nav">
                    <if condition="$upgradeMsg[0] neq null">
                        <li>
                            <a href="javascript:void(0);" id="a_upgrade">
                                <i class="glyphicon glyphicon-upload"></i>
                                <span style="color:#FF0;">{$upgradeMsg.0}&nbsp;</span>
                            </a>
                        </li>
                    </if>

                    <li>
                        <a target="rightContent" href="{:U('/Admin/System/cleanCache')}">
                            <i class="glyphicon glyphicon glyphicon-refresh"></i>
                            <span>清除缓存</span>
                        </a>
                    </li>
                    <li class="dropdown user user-menu">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                            <!--  <img src="__PUBLIC__/dist/img/user2-160x160.jpg" class="user-image" alt="User Image">-->
                            <i class="glyphicon glyphicon-user"></i>
                            <span class="hidden-xs">欢迎：{$admin_info.user_name}</span>
                        </a>
                        <ul class="dropdown-menu">
                            <li class="user-footer">
                                <div class="pull-left">
                                    <a href="{:U('Index/index')}" data-url=""
                                       class="btn btn-default btn-flat model-map">后台首页</a>
                                    <a href="{:U('Admin/admin_info',array('admin_id'=>$admin_info['admin_id']))}"
                                       target="rightContent" class="btn btn-default btn-flat">修改密码</a>
                                    <a href="{:U('Admin/logout')}" class="btn btn-default btn-flat">安全退出</a>
                                </div>
                            </li>
                        </ul>
                    </li>
                    <!-- Control Sidebar Toggle Button -->
                    <li><a href="#" data-toggle="control-sidebar"><i class="fa fa-street-view"></i>换肤</a></li>
                </ul>
            </div>
        </nav>
    </header>